<?php 
		  $sql = "SELECT
				c.creation_time,
				d.title,
				d.description
			FROM
				news AS c,
				news_description AS d
			WHERE
				c.new_id = d.new_id
				AND
				d.lang_id = '".$_SESSION['lang_id']."'
				AND c.published
				AND sef_url = '".$sef_url."'
			  ";
$result = query($sql);
$row = mysql_fetch_object($result);


head(sth($row->title),sth(text_format($row->description, 200)));

?>


		<div id="content">
			
			<div class="left full">
				<h1><?=stripslashes($row->title)?></h1><br />
				<div class="date"><?=date('d.m.Y', strtotime($row->creation_time))?></div>
				 
				 <?=stripslashes($row->description)?>
			</div>
			
		</div>
		
   
	
<?php

foot();
?>